package org.codesketch.flamingo

import org.springframework.transaction.annotation.Transactional;

class SnapshotService {

	@Transactional(readOnly=true)
    def get(final long identifier) {
		return Snapshot.findAllByNodeId(identifier, [sort:'date', order: "desc"])
    }
}
